package com.ruoyi.business.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 人员信息对象 person
 * 
 * @author qiancheng
 * @date 2025-06-13
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("person")
public class Person extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 人员ID */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /** 人员姓名 */
    @Excel(name = "人员姓名")
    @TableField(value = "name")
    private String name;

    /** 人员工号 */
    @Excel(name = "人员工号")
    @TableField(value = "employee_id")
    private String employeeId;

    /** 人员职位 */
    @Excel(name = "人员职位")
    @TableField(value = "position")
    private String position;

    /** 联系方式 */
    @Excel(name = "联系方式")
    @TableField(value = "contact")
    private String contact;


}
